package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_zhenhuan_third_banquet_settle", desc = "甄嬛无双门客-甄嬛二阶段茶话会结算", autoSave = true, dataUpload = true, eventName = "zhguest_thirend", uploadCk = true)
public class LogZhenHuanThirdBanquetSettle extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动Id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "宴会id")
    private int banquetId;
    @FieldTypeAnnotation(desc = "获得榜单积分")
    private long scoreAdd;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogZhenHuanThirdBanquetSettle(int activityId, long userId, int banquetId, long scoreAdd, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.banquetId = banquetId;
        this.scoreAdd = scoreAdd;
        this.reward = reward;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getBanquetId() {
        return banquetId;
    }

    public void setBanquetId(int banquetId) {
        this.banquetId = banquetId;
    }

    public long getScoreAdd() {
        return scoreAdd;
    }

    public void setScoreAdd(long scoreAdd) {
        this.scoreAdd = scoreAdd;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
